﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DZPK.SocketImpl;

namespace DZPK
{
    class Player
    {
        public string username;
        public string password;
        public string userkey;
        public int roomid;
        public int level;
        public int seat;
        public string nick;
        public int coins;
        public int coinsOnTable;

        public Card card1;
        public Card card2;

        public Action<Player> OnTurn = null;


        public void LoginWeibo()
        {
            
        }

        public void EnterRoom(int roomid)
        { 

        }

        public void SitDown(int coins)
        {
 
        }

        public void Analyse(ByteArray byteArray)
        {
 
        }

        // if option is add, then need to specify the value.
        public void DoAction(CardOption option, int value = 0)
        {
 
        }

    }
}
